Trò chơi Tic-Tac-Toe, game đánh caro full source code
53.449 lượt xem;
- OnStartDelete.cs
- UtilityScripts /
- Photon Unity Networking /
- Assets /
- project /
1 using UnityEngine;
2
3 /// <summary>This component will destroy the GameObject it is attached to (in Start()).</summary>
4 public class OnStartDelete : MonoBehaviour {
5
6 // Use this for initialization
7 void Start () {
8 Component.DestroyObject(this.gameObject);
9 }
10 }
2
3 /// <summary>This component will destroy the GameObject it is attached to (in Start()).</summary>
4 public class OnStartDelete : MonoBehaviour {
5
6 // Use this for initialization
7 void Start () {
8 Component.DestroyObject(this.gameObject);
9 }
10 }
Use this for initialization